//
//  DTUIProgressBar.m
//  PersonalManager
//
//  Created by user on 16/8/15.
//  Copyright © 2016年 Haiyun.Qian. All rights reserved.
//

#import "DTUIProgressBar.h"
@implementation DTUIProgressBar

-(instancetype)init:(DTJavascriptCommand *)command {
    self = [super init];
    
    return self;
}

//设置顶部进度条颜色
-(void)setColors:(DTJavascriptCommand *)command {

    self.colorsArray = [command getParamValue:@"colors"];
//    DTBrowserViewController *controller =  (DTBrowserViewController *)command.controller;
//    UIColor *progressColor = [UIColor colorWithHexString:self.colorsArray[1] alpha:1];
//    [controller.progressView setBackgroundColor:progressColor];
//    [command successRessponse:_colorsArray[1]];
}


@end
